@import '@/app/styles/variables';

.block {
  background-color: #f857b4;
  color: #fff;
}

.descr {
  margin-top: 20px;
  margin-bottom: 40px;
}

.tabs {
  display: flex;
  padding: 4px;
  gap: 4px;
  border: 2px solid #000;
  border-radius: 12px;
}

.tab {
  padding: 12px 40px;
  white-space: pre;
  border-radius: 8px;
  width: 100%;
  text-align: center;
  font-weight: 400;
  font-size: 24px;
  line-height: 34px;
  cursor: pointer;
  user-select: none;

  &.active {
    background-color: #000;
  }

  &:nth-child(3) {
    display: none;
  }
}

.list {
  & > div:last-child {
    opacity: 0.3;
  }
}

.item {
  padding: 15px 0;
  border-bottom: 1px solid #f9abd9;
  display: flex;
  justify-content: space-between;
  align-items: center;

  & > span {
    font-weight: 400;
    font-size: 20px;
    line-height: 30px;
  }
}

.itemInfo {
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: flex-end;

  & > span:first-child {
    font-weight: 400;
    font-size: 20px;
    line-height: 30px;
  }

  & > span:last-child {
    color: #f9abd9;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
  }
}

.button {
  padding: 28px 40px;
  background-color: #fff;
  border-radius: 94px;
  color: #043e44;
  font-weight: 500;
  font-size: 24px;
  line-height: 34px;
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
}

@include media(md) {
  .tab {
    &:last-child {
      display: none;
    }

    &:nth-child(2) {
      display: none;
    }

    &:nth-child(3) {
      display: block;
    }
  }

  .button {
    padding: 24px 40px;
  }
}

@include media(sm) {
  .tab {
    font-size: 18px;
    line-height: 30px;
    padding: 6px 35px;
  }
}

@include media(xs) {
  .descr {
    margin-top: 15px;
    margin-bottom: 30px;
  }

  .button {
    padding: 24px 30px;
    font-size: 20px;
    line-height: 34px;
  }
}
